Change in openvpn[master]: Ensure wolfSSL uses old pre 1.1.0 OpenSSL path for getting ciphers
A message that is not in the archive (sent off-list or not yet received): gerrit.1765973388000.I47fc0dc93a7ed6b71feb611194cee02a81d91769@...2715...
plaisthos has uploaded this change for review. ( http://gerrit.openvpn.net/c/openvpn/+/1448?usp=email )
Change subject: Ensure wolfSSL uses old pre 1.1.0 OpenSSL path for getting ciphers
......................................................................
Ensure wolfSSL uses old pre 1.1.0 OpenSSL path for getting ciphers
Normally when wolfSSL is compiled with --enable-openvpn it reports an OpenSSL version before 1.1.0. When compiled normally it reports an OpenSSL version higher than this.
So explicitly check for wolfSSL instead of relying on its OpenSSL version trickery.
---
M src/openvpn/ssl_openssl.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/48/1448/1
src/openvpn/ssl_openssl.c +1 -1
@@ -2547,7 +2547,7 @@crypto_msg (M_FATAL ,"Cannot create SSL object" ); } -#if OPENSSL_VERSION_NUMBER <0x1010000fL || defined(OPENSSL_IS_AWSLC ) +#if OPENSSL_VERSION_NUMBER <0x1010000fL || defined(OPENSSL_IS_AWSLC ) || defined(ENABLE_CRYPTO_WOLFSSL )STACK_OF (SSL_CIPHER) *sk =SSL_get_ciphers (ssl);#else STACK_OF (SSL_CIPHER) *sk =SSL_get1_supported_ciphers (ssl);
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1448?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I47fc0dc93a7ed6b71feb611194cee02a81d91769
Gerrit-Change-Number: 1448
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Attention is currently required from: plaisthos.
cron2 has posted comments on this change by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1448?usp=email )
Change subject: Ensure wolfSSL uses old pre 1.1.0 OpenSSL path for getting ciphers
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1448?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I47fc0dc93a7ed6b71feb611194cee02a81d91769
Gerrit-Change-Number: 1448
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Wed, 17 Dec 2025 13:07:29 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
PATCH 1/1 Ensure wolfSSL uses old pre 1.1.0 OpenSSL path for getting ciphers
In reply to a message not in the archiveFrom: Arne Schwabe <[email protected]...>
Normally when wolfSSL is compiled with --enable-openvpn it reports an OpenSSL version before 1.1.0. When compiled normally it reports an OpenSSL version higher than this.
So explicitly check for wolfSSL instead of relying on its OpenSSL version trickery.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1448
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1448
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Gert Doering <[email protected]...>
src/openvpn/ssl_openssl.c +1 -1
@@ -2547,7 +2547,7 @@crypto_msg (M_FATAL ,"Cannot create SSL object" ); } -#if OPENSSL_VERSION_NUMBER <0x1010000fL || defined(OPENSSL_IS_AWSLC ) +#if OPENSSL_VERSION_NUMBER <0x1010000fL || defined(OPENSSL_IS_AWSLC ) || defined(ENABLE_CRYPTO_WOLFSSL )STACK_OF (SSL_CIPHER) *sk =SSL_get_ciphers (ssl);#else STACK_OF (SSL_CIPHER) *sk =SSL_get1_supported_ciphers (ssl);
[Openvpn-devel] [PATCH applied] Re: Ensure wolfSSL uses old pre 1.1.0 OpenSSL path for getting ciphers
While I could care less about tending for WolfSSL oddities, Arne does, and the FreeBSD people do, and this is quite a reasonable way to approach their... creative... handling of OPENSSL_VERSION_NUMBER.
I have not tested this, and we currently do not have GHA or BB tests for WolfSSL. I guess giving them more attention would warrant adding at least some basic builds + "make check"...
Your patch has been applied to the master branch.
commit ab5887cfbd3654774cdabe03fb1f98195dcf8b6d
Author: Arne Schwabe Date: Wed Dec 17 14:07:38 2025 +0100
Ensure wolfSSL uses old pre 1.1.0 OpenSSL path for getting ciphers
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1448
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg35127.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#2) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1448?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by cron2
Change subject: Ensure wolfSSL uses old pre 1.1.0 OpenSSL path for getting ciphers
......................................................................
Ensure wolfSSL uses old pre 1.1.0 OpenSSL path for getting ciphers
Normally when wolfSSL is compiled with --enable-openvpn it reports an OpenSSL version before 1.1.0. When compiled normally it reports an OpenSSL version higher than this.
So explicitly check for wolfSSL instead of relying on its OpenSSL version trickery.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1448
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg35127.html
---
M src/openvpn/ssl_openssl.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/48/1448/2
src/openvpn/ssl_openssl.c +1 -1
@@ -2547,7 +2547,7 @@crypto_msg (M_FATAL ,"Cannot create SSL object" ); } -#if OPENSSL_VERSION_NUMBER <0x1010000fL || defined(OPENSSL_IS_AWSLC ) +#if OPENSSL_VERSION_NUMBER <0x1010000fL || defined(OPENSSL_IS_AWSLC ) || defined(ENABLE_CRYPTO_WOLFSSL )STACK_OF (SSL_CIPHER) *sk =SSL_get_ciphers (ssl);#else STACK_OF (SSL_CIPHER) *sk =SSL_get1_supported_ciphers (ssl);
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1448?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I47fc0dc93a7ed6b71feb611194cee02a81d91769
Gerrit-Change-Number: 1448
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1448?usp=email )
Change subject: Ensure wolfSSL uses old pre 1.1.0 OpenSSL path for getting ciphers
......................................................................
Ensure wolfSSL uses old pre 1.1.0 OpenSSL path for getting ciphers
Normally when wolfSSL is compiled with --enable-openvpn it reports an OpenSSL version before 1.1.0. When compiled normally it reports an OpenSSL version higher than this.
So explicitly check for wolfSSL instead of relying on its OpenSSL version trickery.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1448
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg35127.html
---
M src/openvpn/ssl_openssl.c
1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/ssl_openssl.c +1 -1
@@ -2547,7 +2547,7 @@crypto_msg (M_FATAL ,"Cannot create SSL object" ); } -#if OPENSSL_VERSION_NUMBER <0x1010000fL || defined(OPENSSL_IS_AWSLC ) +#if OPENSSL_VERSION_NUMBER <0x1010000fL || defined(OPENSSL_IS_AWSLC ) || defined(ENABLE_CRYPTO_WOLFSSL )STACK_OF (SSL_CIPHER) *sk =SSL_get_ciphers (ssl);#else STACK_OF (SSL_CIPHER) *sk =SSL_get1_supported_ciphers (ssl);
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1448?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I47fc0dc93a7ed6b71feb611194cee02a81d91769
Gerrit-Change-Number: 1448
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>